<html>

<head>
    <link rel="stylesheet" href="../normalize.css">
    <link rel="stylesheet" href="../index.css">
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>

<body>
    <div id="example-1">
        <!-- synced after "change" instead of "input" -->
        <input v-model.lazy="msg">

        <input v-model.number="age" type="number">

        <input v-model.trim="msg_trim">
    </div>
</body>

<script type="text/javascript">
    var example1 = new Vue({
        el: '#example-1',
        data: {
            msg: 'msg',
            age: 12,
            msg_trim: 'trim'
        }
    })
</script>

</html>